<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>2020-hackthon</title>
</head>

<body>
  <div id="app"></div>
  <!-- built files will be auto injected -->
  <script>
    var changeSize = function () {
      document.getElementsByTagName('html')[0].style.fontSize = (document.body.offsetWidth / 1080) * 6.25 * 16 + 'px';
      window.onresize = function () {
        document.getElementsByTagName('html')[0].style.fontSize = (document.body.offsetWidth / 1080) * 6.25 * 16 +
          'px';
      }
    }
    changeSize()
    window.onload=changeSize
  </script>
</body>

</html>
